package com.fzh.bookstore.admin.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fzh.bookstore.admin.entity.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author fang
 * @since 2020-06-13
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> findMenuByUid(String userId);

    List<Menu> findChildrenByPid(Map<String,Object> map);
}
